//==============================================================================
// Primus Pilus_Anim.txt
//==============================================================================

//==============================================================================
define blood
{
   SetSelector none 
   {
      set hotspot
      {
         version
         {
          Visualparticle sfx a blood spurt
         }
      }
   }
}

//==============================================================================
define shield
{
   SetSelector
   {
		set hotspot
		{
			version
			{
				Visual Cohort Shield
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Legionaire Shield
			}
		}
	}
}

//==============================================================================
define trident
{
   SetSelector
   {
		set hotspot
		{
			version
			{
				Visual Attachments X Sword Iron
			}
		}
	}
}

//==============================================================================
define javelin
{
   SetSelector
   {
		set hotspot
		{
			version
			{
				Visual attachments r pilum
			}
		}
	}
}

//==============================================================================
define heroglow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Glow Small
      }
   }
}

//==============================================================================
define Head
{
   SetSelector
   {

      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Champ
	        ReplaceTexture Infantry G Hoplite Head/Centurion Head
         }
      }
   }
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual hero x legionary_BoredA
					connect RightHand Trident hotspot
					connect LeftForearm shield hotspot
					Connect TopOfHead Head hotspot
					Connect FRONTABDOMEN heroglow hotspot
					ReplaceTexture Infantry G Hoplite Standard/Centurion Armor
				}
			}
		}
	}
}


//==============================================================================
anim Idle
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual hero x legionary_IdleA
					connect RightHand Trident hotspot
					connect LeftForearm shield hotspot
					Connect TopOfHead Head hotspot
					Connect FRONTABDOMEN heroglow hotspot
					ReplaceTexture Infantry G Hoplite Standard/Centurion Armor
				}
			}
		}
	}
}

//==============================================================================
anim run
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual hero x legionary_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag FootstepLeft 0.00 true   
            tag FootstepRight 0.50 true   
//-- end auto generated section
					connect RightHand Trident hotspot
					connect LeftForearm shield hotspot
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Hoplite Standard/Centurion Armor
					Connect FRONTABDOMEN heroglow hotspot
         }
      }
   }
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual hero x legionary_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag FootstepLeft 0.00 true   
               tag FootstepRight 0.50 true   
//-- end auto generated section
					connect RightHand Trident hotspot	
					connect LeftForearm shield hotspot
					Connect TopOfHead Head hotspot
					ReplaceTexture Infantry G Hoplite Standard/Centurion Armor
					Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual hero x legionary_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.49 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					connect RightHand Trident hotspot
					connect LeftForearm shield hotspot
					Connect TopOfHead Head hotspot
					Connect FRONTABDOMEN heroglow hotspot
					ReplaceTexture Infantry G Hoplite Standard/Centurion Armor
				}
			}
		}
	}
}

//==============================================================================
anim Charging
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual hero x legionary_Attackc
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true   
				tag GenericSound 0.40 true   
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				connect Righthand Javelin Hotspot
				connect leftforearm shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Centurion Armor
         }
      }
   }
}

//==============================================================================
anim Death
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual hero x legionary_DeathA
				connect RightHand Trident hotspot
				connect LeftForearm shield hotspot
				Connect TopOfHead Head hotspot
				Connect FRONTABDOMEN heroglow hotspot
                                Connect TopOfHead Blood hotspot
				ReplaceTexture Infantry G Hoplite Standard/Centurion Armor
         }
      }
   }
}


//==============================================================================
anim Flail
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual hero x legionary_FlailA
				connect RightHand Trident hotspot
				connect LeftForearm shield hotspot
				Connect TopOfHead Head hotspot
				Connect FRONTABDOMEN heroglow hotspot
                                Connect TopOfHead Blood hotspot
				ReplaceTexture Infantry G Hoplite Standard/Centurion Armor
         }
      }
   }
}